package com.niit.service;

import org.springframework.beans.factory.annotation.Autowired;

public class UserService {

    @Autowired
    public String getUsers(String name) {
        System.out.println("查询全部用户");
        return "用户信息:"+name;
    }

    public void updateUsers() {
        System.out.println("更新用户....");
    }
}
